﻿<UserControl x:Class="TinyEngine.Editor.Extensibility.Controls.VectorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:code="clr-namespace:TinyEngine.Editor.Extensibility.Controls"
             mc:Ignorable="d" 
             Height="60"
             HorizontalAlignment="Stretch">
    <Grid>
        <StackPanel>
            <TextBlock Name="lblName" Text="Name" Margin="12,12,12,6" />
            <StackPanel Orientation="Horizontal" Margin="12,0,12,0">
                <TextBlock Text="X" VerticalAlignment="Center" Margin="0, 0, 4, 0"  />
                <code:BlendStyleTextbox x:Name="txtX" TextChanged="txtX_TextChanged" Width="40"  />
                <TextBlock Text="Y" VerticalAlignment="Center" Margin="6,0, 4,0" />
                <code:BlendStyleTextbox x:Name="txtY" TextChanged="txtX_TextChanged" Width="40" />
                <TextBlock Name="lblZ" Text="Z" VerticalAlignment="Center" Margin="6,0, 4,0" />
                <code:BlendStyleTextbox x:Name="txtZ" TextChanged="txtX_TextChanged" Width="40"  />
                
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
